﻿using System.Collections.Generic;
using System.Threading.Tasks;
using AppSocketModel;
using BCGPSCommon;

namespace AppSocketService.AlarmHistoryPerson
{
    public interface IAlarmNotifyHistoryPersonService
    {    
        PageableList<AlarmNotifyHistoryDto> GetListPerson(string imei, AlarmType? alarmType, AlarmNotifyType? notifyType, bool? isConfirm, bool isDelete, bool desc, int index, int size);

        /// <summary>
        /// 报警确认
        /// </summary>
        /// <param name="id"></param>
        void AlarmConfirm(string id);
        void AlarmConfirm(List<string> list);
        void AlarmConfirm(string imei, AlarmType? alarmType, AlarmNotifyType? notifyType);
        void AlarmConfirm(List<string> imei, AlarmType? alarmType, AlarmNotifyType? notifyType);
    }
}